class Cat:
    def say(self):
        print('I am a cat')


class Dog:
    def say(self):
        print('I am a dog')


class Company:
    def __init__(self, employees):
        self.employees = employees

    def __getitem__(self, idx):
        return self.employees[idx]

    def __len__(self):
        return len(self.employees)


class Duck:
    def say(self):
        print('I am a duck')


if __name__ == "__main__":
    company = Company(["James", "Wade", "Bosh"])
    animal_lst = [Cat, Dog, Duck]
    for animal in animal_lst:
        animal().say()